<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let students = [
      { name: '小明', age: 18, gender: '男', hometown: '北极' },
      { name: '小林', age: 21, gender: '女', hometown: '南极' },
      { name: '小刚', age: 19, gender: '男', hometown: '北京' },
      { name: '小丽', age: 20, gender: '女', hometown: '南京' }
    ]

    for (let i = 0; i < students.length; i++) {
      console.log(student[i].name)


    }
    // 属性
    console.log(Math.PI)
    console.log(Math.ceil(1231.22));


  </script>
</body>

</html>